package sanrenxing.dayEnd.backRepertoryTotal.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @desrciption 实体类 权益数据
 * @auth：yidu 李小锋
 * @date:2021/3/12 0012 - 9:45
 * @version:1:0
 */
public class EquityData implements Serializable {
    private int rightsId;	//权益id	int
    private String seId;	//证券id	varchar2
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")

    private Date rigDay;	//权益登记日	date
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date righDay;	//权益除权日	date@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date dueDate;	//到账日期	date
    private String rigType;	//权益类型	varchar2
    private String pro;	//比例%	varchar2
    private String proState;	//处理状态（1未处理 2：已处理）	varchar2
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date businDate;	//业务日期	date

    public EquityData() {
    }

    public EquityData(String seId, Date rigDay, Date righDay, Date dueDate, String rigType, String pro, String proState, Date businDate) {
        this.seId = seId;
        this.rigDay = rigDay;
        this.righDay = righDay;
        this.dueDate = dueDate;
        this.rigType = rigType;
        this.pro = pro;
        this.proState = proState;
        this.businDate = businDate;
    }

    public EquityData(int rightsId, String seId, Date rigDay, Date righDay, Date dueDate, String rigType, String pro, String proState, Date businDate) {
        this.rightsId = rightsId;
        this.seId = seId;
        this.rigDay = rigDay;
        this.righDay = righDay;
        this.dueDate = dueDate;
        this.rigType = rigType;
        this.pro = pro;
        this.proState = proState;
        this.businDate = businDate;
    }

    public int getRightsId() {
        return rightsId;
    }

    public void setRightsId(int rightsId) {
        this.rightsId = rightsId;
    }

    public String getSeId() {
        return seId;
    }

    public void setSeId(String seId) {
        this.seId = seId;
    }

    public Date getRigDay() {
        return rigDay;
    }

    public void setRigDay(Date rigDay) {
        this.rigDay = rigDay;
    }

    public Date getRighDay() {
        return righDay;
    }

    public void setRighDay(Date righDay) {
        this.righDay = righDay;
    }

    public Date getDueDate() {
        return dueDate;
    }

    public void setDueDate(Date dueDate) {
        this.dueDate = dueDate;
    }

    public String getRigType() {
        return rigType;
    }

    public void setRigType(String rigType) {
        this.rigType = rigType;
    }

    public String getPro() {
        return pro;
    }

    public void setPro(String pro) {
        this.pro = pro;
    }

    public String getProState() {
        return proState;
    }

    public void setProState(String proState) {
        this.proState = proState;
    }

    public Date getBusinDate() {
        return businDate;
    }

    public void setBusinDate(Date businDate) {
        this.businDate = businDate;
    }

    @Override
    public String toString() {
        return "EquityData{" +
                "rightsId=" + rightsId +
                ", seId='" + seId + '\'' +
                ", rigDay=" + rigDay +
                ", righDay=" + righDay +
                ", dueDate=" + dueDate +
                ", rigType='" + rigType + '\'' +
                ", pro='" + pro + '\'' +
                ", proState='" + proState + '\'' +
                ", businDate=" + businDate +
                '}';
    }
}
